package edu.zu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;

import java.time.LocalDate;
import java.util.List;

/**
 * @Data :生成get、set、toString
 * @NoArgsConstructor ：生成无参构造
 * @AllArgsConstructor ：有参构造（所有属性）
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo {
    private Integer id;
    private String name;
    private String psw;
    private LocalDate birth;
    private String sex;
    private String address;
    private String city;
    private String email;
    private String full_name;
    private String zym;

    //一个用户对应多个订单
    private List<Orders> ordersList;


}
